package com.ruoyi.common.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Created IntelliJ IDEA.
 * @author: ace
 * @Date: 2022/10/12
 * @Time: 14:29
 * @Description: 多租户基类,凡是使用多租户的都需要继承该类
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TenantEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 租户ID
     */
    private Long tenantId;
}
